<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="pageContent">
	<form method="post" action="${base}/customer/busirecord/save.do" class="pageForm required-validate" onsubmit="return validateCallback(this, ${targetType}AjaxDone);">
	<!-- 来源页面，提交后刷新此页面 -->
	<input type="hidden" name="targetType" value="${targetType}">
	<input type="hidden" name="targetId" value="${targetId}">
	<c:if test="${entity.id!=null}">
	 <input type="hidden" name="id"  value="${entity.id}"/> 
	 <input type="hidden"  name="timestamp"  value="${entity.timestamp}"/> 
	 </c:if>
		<div class="pageFormContent" layoutH="56">
	 
			<p>
				<label>联系人：</label>
				<input name="customer.company.name" class="required" type="text"   value="${customer.company.name}" />
			</p>
			
				<p>
				<label>金额：</label>
				<input name="amount"  type="text"   value="${entity.amount}" />
			</p>
				<p>
				<label>交易类型：</label>
				<input name="type"  type="text"   value="${entity.type}" />
			</p>
 
 				<p>
				<label>状态：</label>
				<input name="status"  type="text"   value="${entity.status}" />
			</p>
			
							<p>
				<label>成交时间：</label>
				<input name="dealTime"  type="text"   value="${entity.dealTime}" />
			</p>
			
				<p>
				<label>单据号：</label>
				<input name="billNo"  type="text"   value="${entity.billNo}" />
			</p>
			
						 
		 
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
